package com.maybach.workflow.common.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

public class FlowApplyIndexDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * This field corresponds to the database column wf_flow_apply_index.id
     */
    private Long id;

    /**
     * This field corresponds to the database column wf_flow_apply_index.apply_id
     */
    private Long applyId;

    /**
     * This field corresponds to the database column wf_flow_apply_index.name
     */
    private String name;

    /**
     * This field corresponds to the database column wf_flow_apply_index.value
     */
    private String value;

    /**
     * This field corresponds to the database column wf_flow_apply_index.gmt_create
     */
    private Date gmtCreate;

    /**
     * This field corresponds to the database column wf_flow_apply_index.gmt_modified
     */
    private Date gmtModified;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getApplyId() {
		return applyId;
	}

	public void setApplyId(Long applyId) {
		this.applyId = applyId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}


    @Override
    public String toString(){
        return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
    }
}